

package com.hazelcast.map.impl.operation;

import com.hazelcast.internal.serialization.Data;
import com.hazelcast.map.impl.MapDataSerializerHook;
import com.hazelcast.map.impl.record.Record;
import com.hazelcast.map.impl.recordstore.expiry.ExpiryMetadata;

public class PutTransientBackupOperation extends PutBackupOperation {

    public PutTransientBackupOperation() {
    }

    public PutTransientBackupOperation(String name, Data dataKey, Record<Data> record, Data dataValue, ExpiryMetadata expiryMetadata) {
        super(name, dataKey, record, dataValue, expiryMetadata);
    }

    @Override
    protected boolean isPutTransient() {
        return true;
    }

    @Override
    public int getClassId() {
        return MapDataSerializerHook.PUT_TRANSIENT_BACKUP;
    }

}
